package com.iflytek.iot.platform.tracing.config;

import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class LogBackConfigUtils {

    @Resource
    private LogBackConfig logBackConfig;

    private static LogBackConfig staticConfig;

    @PostConstruct
    public void init() {
        this.staticConfig = logBackConfig;
    }

    public static LogBackConfig getLogConfig(){
        return staticConfig;
    }
}
